08. Exercise: Set Up Row and Column Locations

23 8 AAK Rows And Columns SC

Exercise

In this exercise you will set up row and column locations.

  1. Set up the coordinates for two columns.
private val columnOne = rectInset
private val columnTwo = columnOne + rectInset + clipRectRight
  1. Add the coordinates for each row, including the final row for the transformed text.
private val rowOne = rectInset
private val rowTwo = rowOne + rectInset + clipRectBottom
private val rowThree = rowTwo + rectInset + clipRectBottom
private val rowFour = rowThree + rectInset + clipRectBottom
private val textRow = rowFour + (1.5f * clipRectBottom)
  1. Run your app. The app should open with a blank white screen below the name of the app.